<template>
  <div>传给儿子{{ car }}</div>

  <button @click="sendToy('儿子玩具')">发送给父亲</button>
</template>

<script setup lang="ts">
defineProps(["car", "sendToy"]);
</script>

<style scoped></style>
